projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa43edd
)
notebook: Reallocate tab gadgets when we reorder them
author
Benjamin Otte
<otte@redhat.com>
Mon, 29 Feb 2016 20:57:19 +0000
(21:57 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 29 Feb 2016 21:00:03 +0000
(22:00 +0100)
Otherwise they stay in their position and don't cause a redraw. Which
really confuses Epiphany users apparently.
https://bugzilla.gnome.org/show_bug.cgi?id=762720
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 4b2a75b6b596428e960c5e8bd38d95ba0592248d..0a7777a16615d28244c37a2beb086cb25f1f9494 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-7586,6
+7586,7
@@
gtk_notebook_child_reordered (GtkNotebook *notebook,
gtk_css_gadget_get_node (page->gadget),
sibling);
gtk_notebook_update_labels (notebook);
+ gtk_css_gadget_queue_allocate (priv->tabs_gadget);
}
static void